package com.bdweb.service;

import com.bdweb.model.POWER;


import java.util.List;



public interface PowerService {
    List<POWER> findAllPower();

    POWER findPower(String powerName, boolean isopen,String ip ,String port ,String codeopen,String codeclose);

    Integer addPower(POWER user);

    Integer deletePower(Integer id);

    Integer updatePowerInfo(Integer id, String username, boolean isopen,String ip ,String port,String codeopen,String codeclose);


}
